package com.stenio.fancat.exception;

import lombok.Data;

/**
 * Created by stenio on 2018/5/21.
 */
@Data
public class FanCatException extends Exception {

    private String msg;
    private String errorCode;

    public FanCatException(String message) {
        super(message);
    }

    public FanCatException (String msg,String errorCode){
        super();
        this.msg = msg;
        this.errorCode = errorCode;
    }

    public FanCatException(String message, Throwable cause) {
        super(message, cause);
    }

    public FanCatException(Throwable cause) {
        super(cause);
    }

}
